package Bean;
public class User {
	/*
	 *  user_id 用户Id
	 *  username 用户名
	 *  password 用户密码
	 *  createTime 用户注册时间
	 *  role 用户是否为管理员
	 */
	private String user_id;
	private String username;
	private String name; 
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	private String password;
	private String createTime;
	private int role;
	public String getUser_id() {
		return user_id;
	}
	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public int getRole() {
		return role;
	}
	public void setRole(int role) {
		this.role = role;
	}
	@Override
	public String toString() {
		return "User [user_id=" + user_id + ", username=" + username + ", name=" + name + ", password=" + password
				+ ", createTime=" + createTime + ", role=" + role + ", getUser_id()=" + getUser_id()
				+ ", getUsername()=" + getUsername() + ", getPassword()=" + getPassword() + ", getCreateTime()="
				+ getCreateTime() + ", getRole()=" + getRole() + ", getClass()=" + getClass() + ", hashCode()="
				+ hashCode() + ", toString()=" + super.toString() + "]";
	}
}
